package com.warm.spring.ioc.expand;

import org.springframework.context.Lifecycle;
import org.springframework.context.Phased;

/**
 * @Description 启动和关闭回调
 * @Author iyb-liangchuang
 * @Date 2021/6/3 9:43
 */
public class InsLifeCycleBean implements Lifecycle, Phased {
    @Override
    public void start() {

    }

    @Override
    public void stop() {

    }

    @Override
    public boolean isRunning() {
        return false;
    }

    @Override
    public int getPhase() {
        return 0;
    }
}
